home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / pwck.z / pwck
Encoding:
Text File  |  1998-10-20  |  3.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ppppwwwwcccckkkk((((1111MMMM))))                                                              ppppwwwwcccckkkk((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      pwck - password file checker
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ppppwwwwcccckkkk [[_----_pppp] file]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _p_w_c_k scans the password file and notes any inconsistencies.  The checks
  16.      include validation of: the number of fields, login name, user ID, group
  17.      ID, and whether the login directory and the program-to-use-as-Shell
  18.      exist.  The default password file is /_e_t_c/_p_a_s_s_w_d.
  19.  
  20.      _p_w_c_k has the ability to parse YP entries in the password file.
  21.  
  22.      The _----_pppp option prevents checking of the login directory and shell fields,
  23.      useful for NIS administrators in checking the yppasswd file, where each
  24.      login directory is not usually locally available.
  25.  
  26. FFFFIIIILLLLEEEESSSS
  27.      /etc/passwd
  28.  
  29. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  30.      passwd(4).
  31.  
  32. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  33.      Too many/few fields
  34.           An entry in the password file does not have the proper number of
  35.           fields.
  36.  
  37.      Logname field null
  38.           The login name field of an entry is empty.
  39.  
  40.      Bad character(s) in logname
  41.           The login name in an entry contains one or more non-alphanumeric
  42.           characters.
  43.  
  44.      Logname too long/short
  45.           The login name in an entry has more than 8 characters.
  46.  
  47.      Invalid UID
  48.           The user ID field in an entry is not numeric or is greater than
  49.           2147483647.  (Note that if the UID is > 65535, then files can not be
  50.           created on EFS filesystems.)
  51.  
  52.      Invalid GID
  53.           The group ID field in an entry is not numeric or is greater than
  54.           2147483647.  (Note that if the GID is > 65535, then files can not be
  55.           created on EFS filesystems.)
  56.  
  57.      Login directory null
  58.           The login directory field in an entry is empty.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ppppwwwwcccckkkk((((1111MMMM))))                                                              ppppwwwwcccckkkk((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      Login directory not found
  75.           The login directory field in an entry refers to a directory that
  76.           does not exist.
  77.  
  78.      Login directory illegal, try pathchk(1)
  79.           The login directory field in an entry refers to an illegal directory
  80.           name.  Try running pathchk(1) on the login directory name.
  81.  
  82.      Optional shell file not found
  83.           The login shell field in an entry refers to a program or shell
  84.           script that does not exist.
  85.  
  86.      Optional shell file not found, try pathchk(1)"
  87.           The login shell field in an entry refers to a program or shell
  88.           script with an illegal path name.  Try running pathchk(1) on the
  89.           login shell file name.
  90.  
  91.      No netgroup name
  92.           The entry is a Yellow Pages entry referring to a netgroup, but no
  93.           netgroup is present.
  94.  
  95.      Bad character(s) in netgroup name
  96.           The netgroup name in a Yellow Pages entry contains characters other
  97.           than lower-case letters and digits.
  98.  
  99.      First char in netgroup name not lower case alpha
  100.           The netgroup name in a Yellow pages entry does not begin with a
  101.           lowercase letter.
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.